<template>
	<view >
		<u-modal :show="show" width="625rpx"  @confirm="confirm" @cancel="cancel" @close="close()"  :content='content' cancelColor="#000" confirmColor="#6678A0" showCancelButton="true" closeOnClickOverlay="true">
			<view class="slot-content">
			请登录后查看,是否立即登录	
			</view>
		</u-modal>
		<loginPop ref="loginPop"></loginPop>
	</view>
</template>

<script>
import loginPop from '@/components/loginPop.vue'
export default {
	data() {
		return {
			show:false,
			content:'请登录后查看,是否立即登录'
		};
	},
	components:{
		loginPop
	},
	methods:{
		open(){
			this.show=true
		},
		close() {
			this.show=false
			this.$emit('stop')
		},
		confirm() {
		this.show = false;
		this.$refs.loginPop.open()
		},
		cancel(){
			this.show=false
			this.$emit('stop')
		}
	}
};
</script>


<style>
	*{
		font-size: 34rpx;
		font-weight: bold;
	}
	.slot-content{
		text-align: center;
		color: #000;
		padding: 15rpx 0 40rpx 0;
	}
	/deep/.u-modal{
		border-radius: 20rpx !important;
	}
	.u-line{
		opacity: 0.5;
	}
</style>